package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.BeforeDehydration;
import com.zhijian.medical.entity.vo.request.BeforeDehydrationSearchVo;
import com.zhijian.medical.entity.vo.response.BeforeDehydrationListVo;
import com.zhijian.medical.entity.vo.response.BeforeDehydrationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BeforeDehydrationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BeforeDehydration record);

    int insertSelective(BeforeDehydration record);

    BeforeDehydration selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BeforeDehydration record);

    int updateByPrimaryKey(BeforeDehydration record);

    int count(BeforeDehydrationSearchVo beforeDehydrationSearchVo);

    List<BeforeDehydrationListVo> selectList(BeforeDehydrationSearchVo beforeDehydrationSearchVo);

    BeforeDehydrationVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<BeforeDehydration> entities);
}